3.2476 \(\int \frac{1}{x^3 (a+b x^n)} \, dx\)

Optimal. Leaf size=36 \[ -\frac{\, _2F_1\left (1,-\frac{2}{n};-\frac{2-n}{n};-\frac{b x^n}{a}\right )}{2 a x^2} \]

[Out]

-Hypergeometric2F1[1, -2/n, -((2 - n)/n), -((b*x^n)/a)]/(2*a*x^2)

________________________________________________________________________________________

Rubi [A]  time = 0.0073568, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {364} \[ -\frac{\, _2F_1\left (1,-\frac{2}{n};-\frac{2-n}{n};-\frac{b x^n}{a}\right )}{2 a x^2} \]

Antiderivative was successfully verified.

[In]

Int[1/(x^3*(a + b*x^n)),x]

[Out]

-Hypergeometric2F1[1, -2/n, -((2 - n)/n), -((b*x^n)/a)]/(2*a*x^2)

Rule 364

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a^p*(c*x)^(m + 1)*Hypergeometric2F1[-
p, (m + 1)/n, (m + 1)/n + 1, -((b*x^n)/a)])/(c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rubi steps

\begin{align*} \int \frac{1}{x^3 \left (a+b x^n\right )} \, dx &=-\frac{\, _2F_1\left (1,-\frac{2}{n};-\frac{2-n}{n};-\frac{b x^n}{a}\right )}{2 a x^2}\\ \end{align*}

Mathematica [A]  time = 0.002672, size = 33, normalized size = 0.92 \[ -\frac{\, _2F_1\left (1,-\frac{2}{n};1-\frac{2}{n};-\frac{b x^n}{a}\right )}{2 a x^2} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x^3*(a + b*x^n)),x]

[Out]

-Hypergeometric2F1[1, -2/n, 1 - 2/n, -((b*x^n)/a)]/(2*a*x^2)

________________________________________________________________________________________

Maple [F]  time = 0.043, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{3} \left ( a+b{x}^{n} \right ) }}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^3/(a+b*x^n),x)

[Out]

int(1/x^3/(a+b*x^n),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b x^{n} + a\right )} x^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a+b*x^n),x, algorithm="maxima")

[Out]

integrate(1/((b*x^n + a)*x^3), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{1}{b x^{3} x^{n} + a x^{3}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a+b*x^n),x, algorithm="fricas")

[Out]

integral(1/(b*x^3*x^n + a*x^3), x)

________________________________________________________________________________________

Sympy [C]  time = 1.06712, size = 44, normalized size = 1.22 \begin{align*} - \frac{2 \Phi \left (\frac{b x^{n} e^{i \pi }}{a}, 1, \frac{2 e^{i \pi }}{n}\right ) \Gamma \left (- \frac{2}{n}\right )}{a n^{2} x^{2} \Gamma \left (1 - \frac{2}{n}\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**3/(a+b*x**n),x)

[Out]

-2*lerchphi(b*x**n*exp_polar(I*pi)/a, 1, 2*exp_polar(I*pi)/n)*gamma(-2/n)/(a*n**2*x**2*gamma(1 - 2/n))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b x^{n} + a\right )} x^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a+b*x^n),x, algorithm="giac")

[Out]

integrate(1/((b*x^n + a)*x^3), x)